<?php

namespace app\controller;

use app\controller\Request\TradeAlipayQrcodePayRequest;
use Omnipay\Common\Message\RequestInterface;

class TradeAlipayQrcodePayGateway extends AbstractGateway
{
    public function getName(): string
    {
        return "Trade Alipay Qrcode Pay";
    }

    public function purchase(array $options = array()): RequestInterface
    {
        return $this->createRequest(TradeAlipayQrcodePayRequest::class, $options);
    }
}
